﻿using System;
using System.IO;

namespace PengSW.Monitor
{
    public class MonitorTarget_File : IMonitorTarget
    {
        public MonitorTarget_File(string aUri)
        {
            m_Uri = aUri;
        }

        private string m_Uri;

        public string Description
        {
            get { return m_Uri; }
        }

        public bool IsAlive
        {
            get { return File.Exists(m_Uri); }
        }
    }
}
